package com.example.leetcode.matrix;

import com.example.leetcode.matrix.common.MatrixUtils;

import java.util.Arrays;

class Solution6376 {
    public int[] rowAndMaximumOnes(int[][] mat) {
        return MatrixUtils.rowAndMaximumOnes(mat);
    }
}

public class leetcode6376 {
    public static void main(String[] args) {
        Solution6376 solution6376 = new Solution6376();
        int[][] mat = {{0, 0, 0}, {0, 1, 1}};
        int[][] mat1 = {{0, 1}, {1, 0}};
        System.out.println(Arrays.toString(solution6376.rowAndMaximumOnes(mat)));
        System.out.println(Arrays.toString(solution6376.rowAndMaximumOnes(mat1)));
    }
}
